package Properties;

import java.sql.Connection;

import org.quartz.impl.jdbcjobstore.LockException;

public interface Semaphore1 {

    boolean obtainLock(  String lockName) throws LockException;

    void releaseLock( String lockName) throws LockException;

    boolean isLockOwner( String lockName) throws LockException;

    boolean requiresConnection();
}
